<template>
  <div>
    <div>
      <el-button
        type="info"
        icon="el-icon-arrow-left"
        size="mini"
        @click="StateClick"
        >返回</el-button
      >
    </div>

    <div>
      <el-form
        label-width="80px"
        :label-position="labelPosition"
        :inline="true"
        :model="formLabelAlign"
      >
        <el-form-item label="名称">
          <el-input v-model="formLabelAlign.name"></el-input>
        </el-form-item>
        <el-form-item label="类型值">
          <!-- <el-button icon="el-icon-printer"></el-button> -->
          <el-input v-model="formLabelAlign.images"></el-input>
        </el-form-item>
        <el-form-item label="表名">
          <el-input v-model="formLabelAlign.paths"></el-input>
        </el-form-item>
        <el-form-item label="显示">
          <el-input v-model="formLabelAlign.Sorting"></el-input>
        </el-form-item>
      </el-form>
      <el-button type="primary">保存</el-button>
      <el-button type="info">取消</el-button>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      labelPosition: "top",
      formLabelAlign: {
        name: "",
        images: "",
        paths: "",
        Sorting: "",
        types: "菜单",
        label: "",
      },
    };
  },
  methods: {
    StateClick() {
      this.$router.replace("/home/ViewportState/StateManagement");
    },
  },
};
</script>

<style scoped lang="less">
/deep/ .el-form {
}

/deep/ .el-input__inner {
  width: 500px;
}

/deep/ .el-form--inline {
  padding: 0 10px;
}
</style>